﻿using System.Collections.Generic;
using ProtoBuf;
namespace PnJ.Aliyun.OTS.Models
{
    /// <summary>
    /// 
    /// </summary>
    [ProtoContract(Name = "Row")]
    public class Row
    {
        public Row()
        {

        }
       
        private List<Column> primaryKeyColumns = new List<Column>();
        private List<Column> attributeColumns = new List<Column>();
        /// <summary>
        /// 表示该行需要返回的全部主键列
        /// </summary>
        [ProtoMember(1,Name = "primary_key_columns")]
        public List<Column> PrimaryKeyColumns { get { return primaryKeyColumns; } set { primaryKeyColumns = value; } }
        /// <summary>
        /// 表示该行需要返回的全部属性列
        /// </summary>
        [ProtoMember(2,Name = "attribute_columns")]
        public List<Column> AttributeColumns { get { return attributeColumns; } set { attributeColumns = value; } }
    }
}
